<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let num1 = parseFloat(prompt('输入第一个数字'))
      let num2 = parseFloat(prompt('输入第二个数字'))
      let num3 = parseFloat(prompt('输入第三个数字'))

      let he = num1 + num2 + num3
      let cha = num1 - num2 - num3
      document.write(`这三个数的合为${he};`)
      document.write(`这三个数的差为${cha};`)
      document.write(`这三个数的积为${num1*num2*num3};`)
      document.write(`这三个数的商为${num1/num2/num3};`)
      document.write(`这三个数的余为${num1%num2%num3}`)
    </script>
  </body>
</html>
